package cn.com.wangluotongxin.mall.rabbitmq.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class GoodsInfoPojo implements Serializable {

    @ApiModelProperty("租户ID")
    private Integer tenantId;

    @ApiModelProperty("租户名称")
    private String tenantName;

    @ApiModelProperty("管理商品ID")
    private Integer adminGoodsId;

    @ApiModelProperty("管理规格ID")
    private Integer adminStandardId;

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("商品编号")
    private String goodsNo;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("主目录ID")
    private Integer adminQuickQueryId;

    @ApiModelProperty("分类ID")
    private Integer catalogId;

    @ApiModelProperty("分类路径")
    private String catalogPath;

    @ApiModelProperty("分类名称")
    private String catalogName;

    @ApiModelProperty("商品图片")
    private String goodsImages;

    @ApiModelProperty("规格ID")
    private Integer standardId;

    @ApiModelProperty("规格名称")
    private String standardName;

    @ApiModelProperty("颜色ID")
    private Integer colorId;

    @ApiModelProperty("颜色名称")
    private String colorName;

    @ApiModelProperty("尺码ID")
    private Integer sizeId;

    @ApiModelProperty("尺码名称")
    private String sizeName;

    @ApiModelProperty("单位ID")
    private Integer unitId;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("原价")
    private BigDecimal oriPrice;

    @ApiModelProperty("销售价")
    private BigDecimal salePrice;

    @ApiModelProperty("库存数量")
    private Double stockNumber;

    @ApiModelProperty("销售数量")
    private Double saleNumber;

    @ApiModelProperty("商品备注")
    private String goodsRemark;

    @ApiModelProperty("规格备注")
    private String standardRemark;

    @ApiModelProperty("规格图片")
    private String standardImages;

    @ApiModelProperty("上架状态:0.下架 1.上架")
    private Integer isSale;
}
